package cn.edu.paisi.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author en.edu.paisi
 * @since 2021-03-09
 */
public class Subjectinfo extends Model<Subjectinfo> {

    private static final long serialVersionUID = 1L;

    @TableId
    private Integer subInfoId;

    private String subName;


    public Integer getSubInfoId() {
        return subInfoId;
    }

    public void setSubInfoId(Integer subInfoId) {
        this.subInfoId = subInfoId;
    }

    public String getSubName() {
        return subName;
    }

    public void setSubName(String subName) {
        this.subName = subName;
    }

    @Override
    protected Serializable pkVal() {
        return this.subInfoId;
    }

    @Override
    public String toString() {
        return "Subjectinfo{" +
        "subInfoId=" + subInfoId +
        ", subName=" + subName +
        "}";
    }
}
